package VO;

import java.io.Serializable;

import PO.UserRole;


public class UserVO implements Serializable {
	int id;
	String name;
	String password;
	UserRole role;
	Boolean logined;
	Boolean registered;

	public UserVO(int I, String R, String p, UserRole r) {
		id = I;
		name = R;
		password = p;
		role = r;
		logined = false;
		registered = false;
	}

	public String getName(){	
		return(name);
	}
	
	public String getPassword(){
		return(password);
	}
	
	public int getID(){
		return(id);
	}
	
	public UserRole getUserRole(){
		return (role);
	}

	public boolean getLogin(){
		return (logined);
	}
	
	public boolean getRegister(){
		return (registered);
	}
}
